feat(studio): ship inspector design panel#545
Closed
miguel-heygen wants to merge 1 commit intomainfrom
Closed
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Manual DOM editing is still incubating on
next, but the lower-risk inspector and panel polish should be available onmainwithout shipping canvas movement yet.What this fixes
Designtab.Rendersas a sibling tab in the same right panel instead of the only right-panel mode.Root cause
mainalready had the lightweight picker hook andPropertyPanel, but Studio only exposed the right panel as the render queue. The manual editing branch also includes canvas movement and deeper DOM-edit overlay work, so bringing the whole branch tomainwould roll out more than we want for this launch.Verification
Local checks
bun installbun run --filter @hyperframes/studio typecheckbunx oxlint packages/studio/src/App.tsx packages/studio/src/components/sidebar/LeftSidebar.tsxbunx oxfmt --check packages/studio/src/App.tsx packages/studio/src/components/sidebar/LeftSidebar.tsxrg -n "Paper\\.Design|paper\\.design|\\bPaper\\b" docs packages/studio packages/core packages/cli README.md --glob '!node_modules/**'returned no matchesbun run --filter @hyperframes/studio buildlint,format, and repotypecheckafterbun run build:hyperframes-runtimegenerated the ignored runtime inline module needed in a clean worktree.Browser verification
http://127.0.0.1:5177/#project/inspector-demowith a local ignored fixture.Code,Compositions, andAssets.Inspector, confirmed the right panel showsDesignandRenderstabs.#headlinethrough the runtime picker API after the browser mouse route did not deliver iframe clicks reliably.leftvalue from the Design panel and verified the iframe computed style updated to180pxand the backing HTML received an inline style patch.qa-artifacts/studio-inspector/design-empty.png,qa-artifacts/studio-inspector/design-selected.png,qa-artifacts/studio-inspector/design-edited.pngqa-artifacts/studio-inspector/inspector-flow.webmNotes
This intentionally does not port
DomEditOverlay, canvas drag/move, layout detach, or the broader manual editing surface fromnext. The local browser fixture and QA artifacts are untracked and not part of the PR.